﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="reader.aspx.cs" Inherits="reader" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xn="http://www.renren.com/2009/xnml" xmlns:og="http://ogp.me/ns#">
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><%=pdfDetail["name_cn"] %></title>
<!-- #include file="head.htm"-->
<link href="css/list/browsepages.css" rel="stylesheet" type="text/css" /> 
<script type="text/javascript" src="players/product_end_new.js" ></script>
</head> 
<body>
<div id="head_wapper">
<div class="head_bar">
<div class="logo_end">
    <img alt="豆丁网" src="images_cn/newDocin/logo.gif">
</div>
<ul id="nav_end">
    <li><a class="" href="/Mmht/home.aspx"><asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:ResourceGlobal,首页%>" /></a></li>
    <li><a class="" href="/Mmht/kcjs_kcjj.aspx"><asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:ResourceGlobal,课程介绍%>" /></a></li>
    <li><a class="" href="/Mmht/jsbg_kcjsdmdyyy.aspx"><asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:ResourceGlobal,建设报告%>" /></a></li>
    <li><a class="" href="/Mmht/jxzy_jxkj.aspx"><asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:ResourceGlobal,教学资源%>" /></a></li>
    <li><a class="" href="/Mmht/jxyj_yjxm.aspx"><asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:ResourceGlobal,教学研究%>" /></a></li>
    <li><a class="" href="/Mmht/sshd.aspx"><asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:ResourceGlobal,师生互动%>" /></a></li>
    <li><a class="" href="/Mmht/jcjs.aspx"><asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:ResourceGlobal,教材建设%>" /></a></li>
    <li><a class="" href="/Mmht/xsqy.aspx"><asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:ResourceGlobal,学术前沿%>" /></a></li>
    <li><a class="" href="/Mmht/szdw_cdkyxmqk.aspx"><asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:ResourceGlobal,师资队伍%>" /></a></li>
    <li><a class="" href="/Mmht/jrxw.aspx"><asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:ResourceGlobal,近日新闻%>" /></a></li>
</ul>
</div>
</div>
<div class="wapper clear">
<!-- grid -->
 
<!-- grid end -->
	<!--grid-->
	<div class="grid clear">
		<!--doc-tit-->
		<div class="doc-tit">
			<img src="images_cn/productView-pdf_46x35.gif" alt="" />
			<h1 title="<%=pdfDetail ["name_cn"] %>" class="tit_main" ><%=pdfDetail ["name_cn"] %>
            <a onmousedown="return inpmv(1322);" href="#documentinfo"><asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:ResourceGlobal,文档信息%>" /></a>
            </h1> 
			<span class="page"><%=pdfDetail["num_pages"]%></span>
		</div>
		<!--doc-tit end-->
		<!--doc-quick-shop-->
		<div class="doc-quick-shop">
		    <br /><br />
			<ul class="clear">				
				<li class="b4" id="topLi">
				    <a id="topA" href="javascript:AddFavorite();" ><em><asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:ResourceGlobal,收藏%>" /></em></a>
				</li>
				<li id="Li1" class="b2">
				    <a id="A1">
				        <span id="Span1"><%=pdfDetail ["viewnum"] %></span><em><asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:ResourceGlobal,浏览次数%>" /></em>
				    </a>
				</li>
				<li class="b1">
				    <a href="<%=pdfUrl %>" title="请使用右键/另存为下载" >
				        <span id="down_count_top"></span><em><asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:ResourceGlobal,下载%>" /></em>
				    </a>
			    </li>
			</ul>			
		</div>
		<!--doc-quick-shop end-->
	</div>
		
	<!--grid-->
	<div class="grid clear">
		<!--doc-player-->
		<div class="doc-player" id="DocinViewer">

			<iframe id="myReader" width="100%" height="100%" src="<%=pdfUrl %>" ></iframe>
								
		</div>
		
		<!--doc-player end-->
		
		
		<ul style="display: none;" class="indent-flash" id="small-flash">
		    <li>
		        <a href="javascript:showEndFlash();" title="缩小"></a>
		    </li>
		</ul>
		<ul class="indent-flash indent-flashTips" id="big-flash">
		    <li>
		        <a href="javascript:hideEndFlash();" title="放大"></a>
		    </li>
		</ul>
		
		
		
		<!--doc-related-->
		
		<div class="doc-related" id="sider" >
			<h4><asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:ResourceGlobal,精品推荐%>" /><span>
			    <a href="javascript:hideEndFlash();" ><asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:ResourceGlobal,关闭%>" /></a>
			    <a href="javascript:hideEndFlash();" ><img alt="关闭" src="images_cn/images/icon_gbbut.gif"/></a></span>
			</h4>
			<div class="related-list">

			<asp:Repeater ID="Repeater3" runat="server">
            <HeaderTemplate></HeaderTemplate>
            <ItemTemplate>
            <dl>
				<dt>
				    <a  href="reader.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id") %>">
				    <img alt="<%# DataBinder.Eval(Container.DataItem,"name_cn") %>" onerror="this.src='images_cn/90x80_no.gif'"  width="40px" height="50px"
				    src="<%# DataBinder.Eval(Container.DataItem,"image_url") %>"></a>
				</dt>
			    <dd>
			        <em class="pdf" title="pdf">pdf</em>
			        <a  title="<%# DataBinder.Eval(Container.DataItem,"name_cn") %>" 
			        href="reader.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id") %>">
			        <%# DataBinder.Eval(Container.DataItem,"name_cn") %></a>
			     </dd>
			     <dd><asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:ResourceGlobal,热度%>" />:<span class='viewhot5'></span></dd>	
			</dl> 		
            </ItemTemplate>
            </asp:Repeater>			
			</div>
		</div>

			
		<!--doc-related-->
		<!--doc-user-->
		
		<div class="doc-user clear">
		<asp:Repeater ID="Repeater1" runat="server">
            <HeaderTemplate><h4><asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:ResourceGlobal,最热文档排行%>" /></h4></HeaderTemplate>
            <ItemTemplate>

            <dl>
                <dt>
                    <a onmousedown="return inpmv(1336);" href="reader.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id") %>">
                        <img alt="<%# DataBinder.Eval(Container.DataItem,"name_cn") %>" onerror="this.src='images_cn/90x80_no.gif'" width="80px" height="90px"
                            src="<%# DataBinder.Eval(Container.DataItem,"image_url") %>" />
                    </a>
                </dt>
                <dd>
                    <a href="reader.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id") %>" title="<%# DataBinder.Eval(Container.DataItem,"name_cn") %>" >
                        <%# DataBinder.Eval(Container.DataItem,"name_cn") %>
                    </a>

                </dd>
		    </dl>
  
            </ItemTemplate>
        </asp:Repeater>				
						
		</div>

		
		<!--doc-user end-->
	</div>
	<!--grid end-->
	<div class="grid">
		<div id="documentinfo" class="doc-info clear">
			<!--doc-info-l-->
			<div class="doc-info-l doc-info-lTips">
				<p class="mtb-1015">
				    <a href="<%=pdfUrl %>"  title="请使用右键/另存为下载"  id="download_a" name="download_a">
				        <img src="images_cn/icon-down.gif" alt="下载文档" />
				    </a>
				</p>
				<h4><asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:ResourceGlobal,文档数据%>" /></h4>
				<ul class="clear">
					<li class="hot"><asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:ResourceGlobal,热度%>" />:<span class="<%# getViewHostClass(pdfDetail ["viewnum"]) %>"></span></li>
					<li class="d1"><asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:ResourceGlobal,浏览%>" />:<span><%=pdfDetail ["viewnum"] %></span></li>				
					<li class="d4"><a href="#" onclick="AddFavorite()"><asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:ResourceGlobal,收藏%>" /></a></li>
				</ul>
			</div>
			<!--doc-info-l end-->
			<!--doc-info-r-->
			
			<div class="doc-info-r">
				<h4><asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:ResourceGlobal,文档介绍%>" /></h4>
				<p id="descTemp">
				<%=pdfDetail ["remark"] %>						
				</p>
				<%if (pdfDetail["type"].ToString () == "课件")
                { %>
				<dl class="clear">
					<dt><asp:Literal ID="Literal24" runat="server" Text="<%$ Resources:ResourceGlobal,课件名%>" />：</dt>
					<dd id="fenleiDiv"></dd>
					<dd> <%=pdfDetail["name_cn"]%></dd>	
				</dl>
				<dl class="clear">
					<dt><asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:ResourceGlobal,作者%>" />：</dt>					
					<dd> <%=pdfDetail["author"]%></dd>	
				</dl>				
				<dl class="clear">
					<dt><asp:Literal ID="Literal26" runat="server" Text="<%$ Resources:ResourceGlobal,创建日期%>" />：</dt>
					<dd>
					<%=pdfDetail["created_at"]%>
					</dd>
				</dl><%}
                 else if (pdfDetail["type"].ToString () == "文献") {%>
                <dl class="clear">
					<dt><asp:Literal ID="Literal27" runat="server" Text="<%$ Resources:ResourceGlobal,文献名%>" />：</dt>
					<dd id="Dd1"></dd>
					<dd> <%=pdfDetail["name_cn"]%></dd>	
				</dl>
				<dl class="clear">
					<dt><asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:ResourceGlobal,作者%>" />：</dt>					
					<dd> <%=pdfDetail["author"]%></dd>	
				</dl>				
				<dl class="clear">
					<dt><asp:Literal ID="Literal29" runat="server" Text="<%$ Resources:ResourceGlobal,创建日期%>" />：</dt>
					<dd>
					<%=pdfDetail["created_at"]%>
					</dd>
				</dl><%}
				else if (pdfDetail["type"].ToString () == "标准") {%>
                <dl class="clear">
					<dt><asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:ResourceGlobal,标准中文名%>" />：</dt>
					<dd id="Dd2"></dd>
					<dd> <%=pdfDetail["name_cn"]%></dd>	
				</dl>
				<dl class="clear">
					<dt><asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:ResourceGlobal,标准英文名%>" />：</dt>					
					<dd> <%=pdfDetail["name_en"]%></dd>	
				</dl>
				<dl class="clear">
					<dt><asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:ResourceGlobal,代号全称%>" />：</dt>
					<dd>
					<%=pdfDetail["code"]%>
					</dd></dl> 				
				<dl class="clear">
					<dt><asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:ResourceGlobal,创建日期%>" />：</dt>
					<dd>
					<%=pdfDetail["created_at"]%>
					</dd>
				</dl><%}
				 else if (pdfDetail["type"].ToString () == "试题") {%>
                <dl class="clear">
					<dt><asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:ResourceGlobal,试题名称%>" />：</dt>
					<dd id="Dd3"></dd>
					<dd> <%=pdfDetail["name_cn"]%></dd>	
				</dl>
				<dl class="clear">
					<dt><asp:Literal ID="Literal35" runat="server" Text="<%$ Resources:ResourceGlobal,作者%>" />：</dt>					
					<dd> <%=pdfDetail["author"]%></dd>	
				</dl>				
				<dl class="clear">
					<dt><asp:Literal ID="Literal36" runat="server" Text="<%$ Resources:ResourceGlobal,创建日期%>" />：</dt>
					<dd>
					<%=pdfDetail["created_at"]%>
					</dd>
				</dl>
				<%}%>
			
			</div>	
			<!--doc-info-r end-->
		</div>
	</div>
</div>

<!-- #include file="footer.htm"-->

</body>
</html>